package com.hospital.post;

import com.hospital.common.config.FeignConfig;
import com.hospital.common.config.GlobalHandlerConfig;
import com.hospital.common.config.WebConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.hospital.post.mapper")
@Import({GlobalHandlerConfig.class, WebConfig.class, FeignConfig.class})
@EnableFeignClients
@EnableDiscoveryClient
public class PostApplication
{

    public static void main(String[] args)
    {
        SpringApplication.run(PostApplication.class, args);
    }

}
